package com.ruoyi.wss.dahua.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

@Data
@AllArgsConstructor
public class ResponseData<T> implements Serializable {

    @JsonProperty("success")
    private Boolean success;

    @JsonProperty("code")
    private String code;

    @JsonProperty("errMsg")
    private String errMsg;

    @JsonProperty("data")
    private T data;

}
